import { createApp } from 'vue'
import App from './App.vue'
import { createPinia } from 'pinia'
import persist from 'pinia-plugin-persistedstate'
// 样式数据和elementPlus
import './main.css'
import '@/assets/style.css'
import 'element-plus/dist/index.css'
// 引入暗黑模式样式
import 'element-plus/theme-chalk/dark/css-vars.css';

createApp(App)
  .use(createPinia().use(persist))
  .mount('#app')
